.class Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;
.super Landroid/widget/BaseAdapter;
.source "CommonListDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/commonui/CommonListDialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "CommonListAdapter"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;


# direct methods
.method private constructor <init>(Lcom/htc/android/footprints/commonui/CommonListDialog;)V
    .locals 0
    .parameter

    .prologue
    .line 76
    iput-object p1, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/htc/android/footprints/commonui/CommonListDialog;Lcom/htc/android/footprints/commonui/CommonListDialog$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 76
    invoke-direct {p0, p1}, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;-><init>(Lcom/htc/android/footprints/commonui/CommonListDialog;)V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 81
    iget-object v0, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mTitleList:[Ljava/lang/String;
    invoke-static {v0}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$100(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .parameter "position"

    .prologue
    .line 86
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .parameter "position"

    .prologue
    .line 91
    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 6
    .parameter "idx"
    .parameter "convertView"
    .parameter "parent"

    .prologue
    .line 96
    const/4 v1, 0x0

    .line 98
    .local v1, item:Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;
    if-nez p2, :cond_2

    .line 99
    iget-object v2, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mIcons:[Landroid/graphics/drawable/Drawable;
    invoke-static {v2}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$200(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Landroid/graphics/drawable/Drawable;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mIcons:[Landroid/graphics/drawable/Drawable;
    invoke-static {v2}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$200(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Landroid/graphics/drawable/Drawable;

    move-result-object v2

    aget-object v2, v2, p1

    if-nez v2, :cond_1

    .line 100
    :cond_0
    new-instance v1, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;

    .end local v1           #item:Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;
    iget-object v2, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    iget-object v3, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    invoke-virtual {v3}, Lcom/htc/android/footprints/commonui/CommonListDialog;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mTitleList:[Ljava/lang/String;
    invoke-static {v4}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$100(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Ljava/lang/String;

    move-result-object v4

    aget-object v4, v4, p1

    const/4 v5, 0x0

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;-><init>(Lcom/htc/android/footprints/commonui/CommonListDialog;Landroid/content/Context;Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .line 112
    .restart local v1       #item:Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;
    :goto_0
    return-object v1

    .line 103
    :cond_1
    new-instance v1, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;

    .end local v1           #item:Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;
    iget-object v2, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    iget-object v3, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    invoke-virtual {v3}, Lcom/htc/android/footprints/commonui/CommonListDialog;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mTitleList:[Ljava/lang/String;
    invoke-static {v4}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$100(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Ljava/lang/String;

    move-result-object v4

    aget-object v4, v4, p1

    iget-object v5, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mIcons:[Landroid/graphics/drawable/Drawable;
    invoke-static {v5}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$200(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Landroid/graphics/drawable/Drawable;

    move-result-object v5

    aget-object v5, v5, p1

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;-><init>(Lcom/htc/android/footprints/commonui/CommonListDialog;Landroid/content/Context;Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .restart local v1       #item:Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;
    goto :goto_0

    .line 108
    :cond_2
    move-object v0, p2

    check-cast v0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;

    move-object v1, v0

    .line 109
    iget-object v2, p0, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListAdapter;->this$0:Lcom/htc/android/footprints/commonui/CommonListDialog;

    #getter for: Lcom/htc/android/footprints/commonui/CommonListDialog;->mTitleList:[Ljava/lang/String;
    invoke-static {v2}, Lcom/htc/android/footprints/commonui/CommonListDialog;->access$100(Lcom/htc/android/footprints/commonui/CommonListDialog;)[Ljava/lang/String;

    move-result-object v2

    aget-object v2, v2, p1

    invoke-virtual {v1, v2}, Lcom/htc/android/footprints/commonui/CommonListDialog$CommonListItem;->setTitel(Ljava/lang/String;)V

    goto :goto_0
.end method
